home *** CD-ROM | disk | FTP | other *** search
/ ASP Advantage 1993 / The Association of Shareware Professionals Advantage CD-ROM 1993.iso / files / graphics / pcdcad1 / start.bat < prev    next >
DOS Batch File  |  1993-06-29  |  588b  |  34 lines

  1. echo off
  2. cls
  3. vidtest
  4. if errorlevel 7 goto HERCULES
  5. if errorlevel 5 goto VGACOLOR
  6. if errorlevel 4 goto VGAMONO
  7. if errorlevel 3 goto EGACOLOR
  8. if errorlevel 2 goto EGAMONO
  9. if errorlevel 1 goto CGA
  10. echo  Error in detecting video adapter
  11. goto exit
  12. :HERCULES
  13. hgcdrv
  14. goto exit
  15. :EGACOLOR
  16. :VGACOLOR    
  17. copy vga.cfg draft3.cfg
  18. vgadrv
  19. draft3
  20. vgadrv /u
  21. goto exit
  22. :EGAMONO    
  23. :VGAMONO    
  24. copy cga.cfg draft3.cfg
  25. goto VGACOLOR
  26. :CGA
  27. copy cga.cfg draft3.cfg
  28. cgadrv
  29. draft3
  30. cgadrv /u
  31. :exit
  32. echo              Thanks for using PC-Draft-CAD
  33. echo                    Please register!
  34.